package com.gonsin.gmessage.logic.exceptions;


/**
 * GMessage框架统一抛出的异常
 */
public class GMessageException extends RuntimeException{

    private String message;

    public GMessageException(String message, Object ... args) {
        this.message = String.format(message, args);
    }

    @Override
    public String getMessage() {
        return message;
    }
}
